#include "../mqserver/channel.hpp"
#include <iostream>

int main()
{
    zhong::ChannelManager::ptr manager = std::make_shared<zhong::ChannelManager>();

    manager->openChannel("channel_a",
                         std::make_shared<zhong::VirtualHost>("host1", "./data/host1/message/", "./data/host1/host1.db"),
                         std::make_shared<zhong::ConsumerManager>(),
                         zhong::ProtobufCodecPtr(),
                         muduo::net::TcpConnectionPtr(),
                         threadpool::ptr());
                         
}